* {
	margin: 0px;
	padding: 0px;
	box-sizing: border-box;
}

html,
body {
	margin: 0px auto;
	box-sizing: border-box;
	line-height: 1.6;
	-webkit-text-size-adjust: none;
	margin: 0px auto;
	min-height: 100%;
	font-size: 14px;
	font-family: "Microsoft Yahei", '楷体', '新宋体', Arial, Helvetica, sans-serif;
}

html {
	-webkit-text-size-adjust: none;
}

ul,
li {
	list-style: none;
}

img {
	border: none;
	line-height: 1;
	vertical-align: middle;
	max-width: 100%;
	height: auto;
}



/*************************** 字体大小通用 ************************************/
//字的部分
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
	font-weight: normal;
}

@mixin font-vw($f1:7vw) {

	$fj: 0.83;

	h1 {
		font-size: $f1;
	}

	h2,
	h3 {
		font-size: $f1*$fj;
	}

	h4 {
		font-size: $f1*$fj*$fj;
	}

	h5 {
		font-size: $f1*$fj*$fj*$fj;
	}

	h6 {
		font-size: $f1*$fj*$fj*$fj*$fj;
	}

	p {
		font-size: 3.4vw;
	}
}

@mixin font-rem() {

	//rem方法
	h1,
	.h1 {
		font-size: .44rem;
	}

	h2,
	.h2 {
		font-size: .40rem;
	}

	h3,
	.h3 {
		font-size: .36rem;
	}

	h4,
	.h4 {
		font-size: .32rem;
	}

	h5,
	.h5 {
		font-size: .30rem;
	}

	h6,
	.h6 {
		font-size: .28rem;
	}

	p,
	.p {
		font-size: .28rem;

		&.sm {
			font-size: .2rem;
		}

		&.ssm {
			font-size: .18rem;
		}
	}
}

@mixin font-sj() {

	h3,
	.h3,
	h4,
	.h4,
	h5,
	.h5,
	h6,
	.h6 {
		font-weight: normal;
	}

	h1,
	.h1 {
		font-size: 22px;
	}

	h2,
	.h2 {
		font-size: 22px;
	}

	h3,
	.h3 {
		font-size: 18px;
	}

	h4,
	.h4 {
		font-size: 16px;
	}

	h5,
	.h5 {
		font-size: 14px;
	}

	h6,
	.h6 {
		font-size: 12px;
	}

	p,
	.p {
		font-size: 12px;
		font-weight: normal;
	}
}

@mixin font-dn() {

	h1,
	.h1 {
		font-size: 36px;
	}

	h2,
	.h2 {
		font-size: 30px;
	}

	h3,
	.h3 {
		font-size: 30px;
	}

	h4,
	.h4 {
		font-size: 24px;
	}

	h5,
	.h5 {
		font-size: 20px;
	}

	h6,
	.h6 {
		font-size: 16px;
	}

	h3,
	.h3,
	h4,
	.h4,
	h5,
	.h5,
	h6,
	.h6 {
		font-weight: 300;
	}

	p,
	.p {
		font-size: 14px;
		font-weight: 300;
	}
}

a {
	color: $color;
	text-decoration: none; //定义A链接

	&:hover {
		color: $base;
	}
}


.imgs {
	overflow: hidden;
	line-height: 1;

	img {
		width: 100%;
		transition: all .7s;
		vertical-align: middle;
		height: auto;
	}

	&:hover img {
		transform: scale(1.05);
	}
}

.max-img {
	img {
		max-width: 100%;
		height: auto;
	}
}

.img {
	img {
		max-width: 100%;
		height: auto;
	}
}

@mixin img-bj-fixed {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top center;
	background-attachment: fixed;
}

@mixin img-bj($top: top, $center: center) {
	background-repeat: no-repeat;
	background-position: $top $center;
}


@mixin loading($size:26px) {
	height: $size;
	text-align: center;
	margin: $size*0.4;

	&:after {
		content: " ";
		zoom: 1;
		display: inline-block;
		vertical-align: middle;
		width: $size;
		height: $size;
		margin: 1px;
		border-radius: 50%;
		border: 2px solid #FFD800;
		border-color: #eee #efefef #FFD800 transparent;
		animation: lds-dual-ring 1.2s linear infinite;
	}
}

@keyframes lds-dual-ring {
	0% {
		transform: rotate(0)
	}

	100% {
		transform: rotate(360deg)
	}
}


.foot-tc {
	background-color: rgba($color: $base, $alpha: .9);
	position: fixed;
	bottom: 0px;
	padding: 40px 10px;
	width: 100%;
	z-index: 999;
	display: flex;
	align-items: center;
	justify-content: center;

	.foot-tc-zt {
		display: flex;
		align-items: center;
	}

	.tc-logo {
		img {
			height: 40px;
			width: auto;
		}
	}

	.xh-form-item {
		margin-bottom: 0;
	}

	.foot-tc-ul {
		display: flex;

		li {
			margin-left: 30px;
			color: #fff;
		}

		.xh-form-item__label {
			color: #fff;
		}

		.xh-input,
		.xh-inner,
		.xh-btn,select {
			height: 40px;
			line-height: 40px;
		}
	}

	.xh-btn {
		background-color: #fff;
		border-radius: 0;
		color: $color;
		font-weight: 300;
		font-size: 14px;
		padding: 0 10px;
	}

	.cha {
		color: #fff;
		@include size(28px);
		font-size: 16px;
		border: 1px solid #fff;
		margin-left: 50px;
		cursor: pointer;
	}
}

//电脑端右侧浮动窗
.fd-right {
	position: fixed;
	right: 0px;
	top: 50%;
  transform: translateY(-50%);
	z-index: 99;
	transition:all .5s;

	li {
		cursor: pointer;
		color: #606060;
		border-bottom: 1px solid darken(#ccc, 0%);
		width: 80px;
		background: #fff;
		text-align: center;
		position: relative;
		a {
			position: relative;
			z-index: 2;
			padding: 6px 0;
			display: block;
			&:hover {
				background: $base;
				color: #fff !important;
			}
		}

		i {
			font-size: 30px;
			height: 40px;
			line-height: 40px;

			@include dis-in;
		}

		p {
			line-height: 30px;
		}

		.fd-ceng {

		position: absolute;
			right: -200px;
			padding: 10px;
			background: $base;

			transition:all .5s;
			opacity: 0;

			top: 0px;
			font-size: 0px;
			white-space: nowrap;

			.doc-tele {
				width: 150px;
				padding: 0px 8px;

				@include dis-in;
				border: 1px solid #eee;
				line-height: 40px;
				height: 40px;

			}

			.doc-submit {
				text-align: center;
				width: 70px;
				@include dis-in;
				line-height: 40px;

				border: none;
				background: #000;
				height: 40px;
				color: #fff;

			}

		}

		.fd-weixin {
			width: 100px;
			height: 100px;
			display: block;
		}

		&:hover {

			.fd-ceng {
				opacity: 1;
				right: 80px;
			}

			a {
				background: $base;
			}

		}

		&:nth-child(3) {
			border-bottom: none;
		}

		&.go-top {
			border-bottom: none;

		
		}



	}

}

.go-top {
	display: none;
}